<?xml version='1.0'?>

<gl_extension name="WGL_I3D_gamma" reg_no="251">
	<tokens>
		<token name="WGL_GAMMA_TABLE_SIZE_I3D" value="0x204E"/>
		<token name="WGL_GAMMA_EXCLUDE_DESKTOP_I3D" value="0x204F"/>
	</tokens>

	<functions>
		<function name="wglGetGammaTableParametersI3D" return="BOOL">
			<params>
				<param type="HDC" name="hDC"/>
				<param type="int" name="iAttribute"/>
				<param type="int*" name="piValue"/>
			</params>
		</function>
		<function name="wglSetGammaTableParametersI3D" return="BOOL">
			<params>
				<param type="HDC" name="hDC"/>
				<param type="int" name="iAttribute"/>
				<param type="const int*" name="piValue"/>
			</params>
		</function>
		<function name="wglGetGammaTableI3D" return="BOOL">
			<params>
				<param type="HDC" name="hDC"/>
				<param type="int" name="iEntries"/>
				<param type="USHORT*" name="puRed"/>
				<param type="USHORT*" name="puGreen"/>
				<param type="USHORT*" name="puBlue"/>
			</params>
		</function>
		<function name="wglSetGammaTableI3D" return="BOOL">
			<params>
				<param type="HDC" name="hDC"/>
				<param type="int" name="iEntries"/>
				<param type="const USHORT*" name="puRed"/>
				<param type="const USHORT*" name="puGreen"/>
				<param type="const USHORT*" name="puBlue"/>
			</params>
		</function>
	</functions>
</gl_extension>
